source 'http://ruby.taobao.org'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.0'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.1.0'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby

# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
gem 'jquery-turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc

# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring', group: :development

# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
gem 'bcrypt'
gem 'bcrypt-ruby'

# Use unicorn as the app server
# gem 'unicorn'

# Use Capistrano for deployment
# gem 'capistrano-rails',group: :development

# Use debugger
# gem 'debugger',group: [:development,:test]

# Mongoid 辅助插件
gem 'mongoid', '4.0.0'
gem 'mongoid_auto_increment_id', '0.6.4'
gem 'mongoid_rails_migrations', '1.0.1'
gem 'mongoid_colored_logger', :group => :development
#上传组件
gem 'carrierwave', '0.10.0'
gem 'carrierwave-mongoid', '0.7.1',:require => 'carrierwave/mongoid'
gem 'mini_magick', '3.8.0'

#风格
gem 'bootstrap-sass', '3.2.0.1'
#gem 'bootstrap-sass', '2.3.2.0'
gem 'autoprefixer-rails', '3.0.1.20140826'
gem 'font-awesome-sass', '4.2.0'



#HTML
gem 'simple_form', '3.1.0'
gem 'bootstrap_helper', '4.2.3'
gem 'kaminari', '0.16.1'

gem 'settingslogic', '2.0.9'
gem 'social-share-button', '0.1.7'
gem 'nokogiri', '1.6.3.1'

#自动给中文英文之间加入合理的空格
gem 'auto-correct', '~> 0.1.0.pre0'

#部署
gem 'capistrano', '3.2.1'
gem 'capistrano-bundler', '1.1.3'
gem 'capistrano-rails', '1.1.1'
gem 'capistrano-rbenv', '2.0.2'


# P2P
gem "torrent-ruby", '0.1.6'#, :require => false
#gem 'torrent-ruby',:github => 'mikhailvs/torrent-ruby'

#搜索
gem 'sunspot_rails', '2.1.1'
group :development,:test do

  #gem 'sunspot_solr', '2.1.1'
  gem 'sunspot_solr', github: 'xhj/sunspot', require: 'sunspot_solr'
end
gem 'sunspot_with_kaminari', '~> 0.2.0'
gem 'sunspot_mongoid', github: 'sujal/sunspot_mongoid'
gem 'progress_bar', '1.0.3'
gem 'ruby-progressbar'
gem 'ruby-pinyin', '0.4.2'

#gem 'auto-correct', '~> 0.1.0.pre0'

#全角转半角
gem 'charwidth', '~> 0.1.3'


#gem 'homeland', '~> 0.0.8'

#gem 'homeland',:path =>  "vendor/engines/homeland"


#列队来处理请求
gem 'sidekiq', '3.2.2'
gem 'sidekiq-unique-jobs', '3.0.2'
gem 'dalli', '2.7.2'
gem 'redis','3.1.0'


#http server
gem 'puma', '2.9.0'


#反爬虫
gem 'limiter', :github => "csdn-dev/limiter"


#过滤特殊字符串
gem 'rack-utf8_sanitizer','1.2.2'

gem 'cache_digests'




#验证码
#gem 'simple_captcha', :github => 'galetahub/simple-captcha'
#gem 'simple_captcha', :github => 'Azdaroth/simple-captcha', :branch => 'rails-4'
#gem 'simple_captcha2',:github => 'pludoni/simple-captcha', require: 'simple_captcha'
#gem 'invisible_captcha', :github => 'markets/invisible_captcha'
#gem "recaptcha", :require => "recaptcha/rails"

gem 'rmagick'
group :development,:test,:production do
  gem 'byebug'
  gem 'web-console', '~> 2.0'
  gem 'did_you_mean'
  gem 'rspec-rails', '~> 3.0.2'
  gem 'capybara', '~> 2.4.1'
  gem 'capybara-webkit', '~> 1.3.0'
  gem 'better_errors', '~> 2.0.0'
  gem 'binding_of_caller', '~> 0.7.2'
  gem 'meta_request', '~> 0.3.4'
  gem 'debugger2', '~> 1.0.0.beta1'
  gem 'faker', '~> 1.4.3'
  gem 'database_cleaner', '~> 1.3.0'
  gem 'launchy', '~> 2.4.2'
  gem 'selenium-webdriver', '~> 2.42.0'
  gem 'mongoid-rspec', :require => false
  gem 'factory_girl_rails', '~> 4.4.1'
end
#计划任务
gem 'whenever', '~> 0.9.2',:require => false
